package cn.psvmc.cxzapi.model.market;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 品牌型号表
 * @Author auto
 * @Date 2024-08-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_brand_model")
public class TBrandModel implements Serializable {

    //品牌型号id
    @TableId(value = "bmid", type = IdType.AUTO)
    private Integer bmid;

    //品牌id
    @TableField("brand_id")
    private Integer brandId;

    //型号名称
    @TableField("model_name")
    private String modelName;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;

    //操作人id
    @TableField(value = "updateid", fill = FieldFill.INSERT_UPDATE)
    private Integer updateid;

    //操作时间
    @TableField(value = "updatetime", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatetime;

    //版本号
    @TableField("rversion")
    @Version
    private Integer rversion;


}
